package com.lili.collection.core.plugins;

import com.lili.collection.core.config.InputConfig;
import com.lili.collection.core.context.StageContext;
import com.lili.collection.core.runner.StageRunner;

/**
 * 输入插件
 *
 * @author lili
 * @date 2023/3/6 23:29
 * @description InputPlugin
 */
public interface InputPlugin<T extends InputConfig> extends Plugin<T> {

    default StageContext execute(){return null;}

    default StageContext execute(StageRunner stageRunner){return null;}

    default String getNextSourceOffset(){ return null;}
}